package com.ruoyi.project.course.course.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 活动课程对象 b_course
 * 
 * @author ruoyi
 * @date 2024-01-24
 */
public class BCourse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String courseName;

    /** 课程名额 */
    @Excel(name = "课程名额")
    private Integer courseUserCount;

    /** 课程时日期 */
    @Excel(name = "课程时日期")
    private String courseDate;

    /** 课程时间 */
    @Excel(name = "课程时间")
    private String courseTime;

    /** 报名截止日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报名截止日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date enrollEndTime;

    /** 课程地区 */
    @Excel(name = "课程地区")
    private String courseArea;

    /** 状态： 0 正常  1 下架  2 删除 */
    @Excel(name = "状态： 0 正常  1 下架  2 删除")
    private Integer couresStatus;
    /**
     * 课程详情
     */
    @Excel(name = "课程详情")
    private String detail;

    /**
     * 纬度
     */
    @Excel(name = "纬度")
    private String coureseLongitude;

    /**
     * 经度
     */
    @Excel(name = "经度")
    private String coureseLatitude;

    /**
     * 课程详细地址(导航地址)
     */
    @Excel(name = "课程详细地址(导航地址)")
    private String coureseAddress;

    private Integer userCount;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCourseName(String courseName)
    {
        this.courseName = courseName;
    }

    public String getCourseName()
    {
        return courseName;
    }
    public void setCourseUserCount(Integer courseUserCount)
    {
        this.courseUserCount = courseUserCount;
    }

    public Integer getCourseUserCount()
    {
        return courseUserCount;
    }
    public void setCourseDate(String courseDate)
    {
        this.courseDate = courseDate;
    }

    public String getCourseDate()
    {
        return courseDate;
    }
    public void setCourseTime(String courseTime)
    {
        this.courseTime = courseTime;
    }

    public String getCourseTime()
    {
        return courseTime;
    }
    public void setEnrollEndTime(Date enrollEndTime)
    {
        this.enrollEndTime = enrollEndTime;
    }

    public Date getEnrollEndTime()
    {
        return enrollEndTime;
    }
    public void setCourseArea(String courseArea)
    {
        this.courseArea = courseArea;
    }

    public String getCourseArea()
    {
        return courseArea;
    }
    public void setCouresStatus(Integer couresStatus)
    {
        this.couresStatus = couresStatus;
    }

    public Integer getCouresStatus()
    {
        return couresStatus;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getCoureseLongitude() {
        return coureseLongitude;
    }

    public void setCoureseLongitude(String coureseLongitude) {
        this.coureseLongitude = coureseLongitude;
    }

    public String getCoureseLatitude() {
        return coureseLatitude;
    }

    public void setCoureseLatitude(String coureseLatitude) {
        this.coureseLatitude = coureseLatitude;
    }

    public String getCoureseAddress() {
        return coureseAddress;
    }

    public void setCoureseAddress(String coureseAddress) {
        this.coureseAddress = coureseAddress;
    }

    public Integer getUserCount() {
        return userCount;
    }

    public void setUserCount(Integer userCount) {
        this.userCount = userCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("courseName", getCourseName())
            .append("courseUserCount", getCourseUserCount())
            .append("courseDate", getCourseDate())
            .append("courseTime", getCourseTime())
            .append("enrollEndTime", getEnrollEndTime())
            .append("courseArea", getCourseArea())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("couresStatus", getCouresStatus())
            .toString();
    }
}
